package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.ShouldGatherPayCount.GatherPayCount;

public class ShouldCountDetailActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    GatherPayCount count =
        (GatherPayCount) getIntent().getSerializableExtra(ShouldCountDetailFragment.EXTRA_VALUE);
    String type = getIntent().getStringExtra(ShouldCountDetailFragment.EXTRA_TYPE);
    return ShouldCountDetailFragment.newInstance(count, type);
  }
}
